﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AppiSynchro.Library
{
    public interface IInstallationPipeLine
    {
        void Init(String setupFileName, Dictionary<String, String> keysList);

        /// <summary>
        /// Download specific version
        /// </summary>
        /// <param name="version"></param>
        /// <returns></returns>
        bool Download(String version);

        bool PreInstall();

        bool Install();

        bool PostInstall();



        bool PreUnInstall();

        bool UnInstall();

        bool PostUnInstall();
    }
}
